package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: SuccessfulEnum
 * @Author: echo
 * @Date: 2024/3/20 10:57
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum SuccessfulEnum implements IEnumConvert<Integer> {

    NO(0, "失败"),
    YES(1, "成功"),

    ;

    @EnumValue
    private final Integer code;
    private final String desc;





}
